package com.cloud.tsp.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cloud.api.domain.stats.QueryAreal;
import com.cloud.api.domain.stats.VehicleRunningData;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * OLAP Mapper 接口
 * </p>
 *
 * @author haohaibo
 * @since 2023-12-29
 */
@DS("doris")
public interface VehicleRunningDataMapper extends BaseMapper<VehicleRunningData> {

    IPage<VehicleRunningData> selectVehicleList(Page<?> page, @Param("c") QueryAreal para );

    List<VehicleRunningData> exportVehicleList(@Param("c") QueryAreal para );

    IPage<VehicleRunningData> selectModelList(Page<?> page, @Param("c") QueryAreal para );

    List<VehicleRunningData> exportModelList(@Param("c") QueryAreal para );
}